<?php
header("Content-type:text/html;charset=utf-8");
$phone=$_GET["phone"];
$conn = mysql_connect("localhost","root","root");
mysql_select_db("sign");
$requer=mysql_query("select * from sign1 where phone_num='$phone'",$conn);
if(mysql_num_rows($requer)==1)
{
	echo "当前用户已经被注册";
}
else
{mysql_query("insert into sign1(phone_num) values('$phone')",$conn);
echo "shoppingCar.html";}

mysql_close($conn);
?>